<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<%@ include file="/WEB-INF/views/include/head.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>资源管理</title>
    <script type="text/javascript">
        $(function () {
            //导航切换
            $(".menuson li").click(function () {
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });

            $('.title').click(function () {
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if ($ul.is(':visible')) {
                    $(this).next('ul').slideUp();
                } else {
                    $(this).next('ul').slideDown();
                }
            });
        })
    </script>
</head>
<body style="background:#f0f9fd;">
<div class="lefttop"><span></span>资源管理</div>
<dl class="leftmenu">
    <c:forEach items="${fns:getMenuList()}" var="menu" varStatus="idxStatus">
        <c:if test="${menu.parent.id eq parentId&&menu.showSign eq '1'}">
            <dd>
                <div class="title">
                    <span><img src="${ctxStatic}${menu.icon}"/></span>${menu.name}
                </div>
                <ul class="menuson">
                    <c:forEach items="${fns:getMenuList()}" var="menuSon">
                        <c:if test="${menuSon.parent.id eq menu.id&&menu.showSign eq '1'}">
                            <li><cite></cite><a href="${ctx}${menuSon.href}"
                                                target="frameContent">${menuSon.name}</a><i></i></li>
                        </c:if>
                    </c:forEach>
                </ul>
            </dd>
        </c:if>
    </c:forEach>
</dl>
<div class="frameContent">
    <iframe src='' scrolling="No" name="frameContent" id="frameContent" title="frameContent"></iframe>
</div>
</body>
</html>
